.avue-sidebar {
  user-select: none;
  position: relative;
  padding-top: 74px;
  height: 100%;
  position: relative;
  background: $linearGradientBasePrimary;
  transition: width .2s;
  box-sizing: border-box;
  @include boxShadowPrimary(0, 20px, 20px);

  &--tip {
    width: 90%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    position: absolute;
    top: 5px;
    left: 5%;
    color: #ccc;
    z-index: 2;
    text-align: center;
    font-size: 14px;
    background-color: rgba(0, 0, 0, .4);
  }

  // 设置菜单颜色和左侧背景一致

  .el-menu {
    background: transparent;
    border: 0;
  }

  .el-menu-item,
  .el-submenu__title {
    // font-size: 24px;
    font-size: 18px;
    // line-height: 66px;
    // height: 66px;
    line-height: 46px;
    height: 46px;
  }

  .el-menu-item {

    span,
    i {
      color: #fff;
      font-size: 24px !important;
    }

    &:hover {
      background: rgba(48, 55, 69, 0.2);
      color: #fff;

      span,
      i {
        color: #fff;
      }
    }

    &.is-active {
      background: rgba(48, 55, 69, 0.2);

      span,
      i {
        color: #fff;
      }

      &:hover {
        background: rgba(48, 55, 69, 0.2);
      }

      // 左侧边框
      // &::before {
      //   content: " ";
      //   top: 0;
      //   left: 0;
      //   bottom: 0;
      //   width: 4px;
      //   background: $linearGradientBasePrimary;
      //   position: absolute
      // }
    }
  }

  .el-submenu__title {

    span,
    i {
      color: #fff;
      // font-size: 24px !important;
      font-size:18px !important;
    }

    &:hover {

      i,
      span {
        color: #fff;
      }

      background: rgba(48, 55, 69, 0.2);
    }
  }

  .el-submenu .el-menu-item {
    // font-size: 24px;
    font-size:18px;
    // line-height: 66px;
    // height: 66px;
    line-height: 46px;
    height: 46px;

    span,
    i {
      color: #fff;
      // font-size: 24px !important;
      font-size: 18px !important;
    }

    &.is-active {
      background: rgba(48, 55, 69, 0.2);

      span,
      i {
        color: #fff
      }

      &:hover {
        background: rgba(48, 55, 69, 0.2);
      }
    }

    &:hover {
      background: rgba(48, 55, 69, 0.2);

      span,
      i {
        color: #fff;
      }
    }
  }
}
